<html>
  <head>
    <title>CoffeeBreaks timesheets</title>
    <%= stylesheet_link_tag "scaffold", "worklogs", :media => "all" %>
    <%= stylesheet_link_tag "print", :media => "print" %>
    <%= javascript_include_tag :defaults %>
    <%= stylesheet_auto_link_tags %>
    <%= javascript_auto_include_tags %>
  </head>
  <body>
    <div id="banner">
      <img src="/images/logo_small.png"/>
      <%= @page_title || "Client Worklogs" %>
    </div>
    <div id="columns">
      <div id="side">
        <a href="http://www.coffeebreaks.org">Home</a><br />
        <a href="mailto:jerome@coffeebreaks.org">Contact</a><br />

        <%if session[:user_id] -%>
        <hr/>
        <%= link_to("Logout", :controller => "login", :action => "logout") %>
        <%end-%>

    </div>
    <div id="main">
      <% if flash[:notice] -%>
        <div id="notice"><%= flash[:notice] %></div>
      <% end -%>
      <%= @content_for_layout %>
    </div>
    <div id="footer">
      &#169; 2006 <a href="http://www.coffeebreaks.org">coffeebreaks.org</a> - Powered by <a href="http://code.google.com/p/timereporter/">Time Reporter</a> - <a href="mailto:jerome@coffeebreaks.org">Contact</a>
    </div>
  </div>
</body>
</html>
